package App.Config;

/**
 * Created by xw on 2018/11/21.
 */

/*
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

public class JwtConfig {
    @Value("${security.jwt.uri:/auth/**}")
    private String Uri;

    @Value("${security.jwt.header:Authorization}")
    private String header;

    @Value("${security.jwt.prefix:Bearer }")
    private String prefix;

    @Value("${security.jwt.expiration:#{24*60*60}}")
    private int expiration;

    @Value("${security.jwt.secret:JwtSecretKey}")
    private String secret;


    public String getUri() {

        return Uri;
    }

    public void setUri(String uri) {
        this.Uri = uri;

    }

    public String getHeader() {

        return header;
    }

    public void setHeader(String header) {
        this.header = header;
    }

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }


    public int getExpiration() {

        return expiration;
    }

    public void setExpiration(int expiration) {
        this.expiration = expiration;
    }


    public String getSecret() {

        return secret;
    }

    public void setSecret(String secret) {
        this.secret = secret;
    }


    // getters ...
}

*/